package com.sensePlusVR.bean;

/**
 * 用户登录成功后返回的DTO
 * 
 * @author
 */
public class LoginResultDto {

    /**
     * id
     */
    private Integer id;
    /**
     * token
     */
    private String token;
    
    /**
     * 是否要修改密码：0 正常,1 需要修改密码
     */
    private Integer locked;

    /**
     * 有效期
     */
    private String expires;
    
    /**
     * 是否可更新合并
     */
    private boolean rebindFlag; 
    
    private String error;
    
    private String message;
    

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Integer getLocked() {
		return locked;
	}

	public void setLocked(Integer locked) {
		this.locked = locked;
	}

	public String getExpires() {
        return expires;
    }

    public void setExpires(String expires) {
        this.expires = expires;
    }

    public boolean isRebindFlag() {
        return rebindFlag;
    }

    public void setRebindFlag(boolean rebindFlag) {
        this.rebindFlag = rebindFlag;
    }

	public String getError() {
		return error;
	}

	public void setError(String error) {
		this.error = error;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	@Override
	public String toString() {
		return "LoginResultDto [id=" + id + ", token=" + token + ", locked="
				+ locked + ", expires=" + expires + ", rebindFlag="
				+ rebindFlag + ", error=" + error + ", message=" + message
				+ "]";
	}
    
}
